package com.bw.service.impl;

import com.bw.entity.StudentRoomAdd;
import com.bw.mapper.StudentMapper;
import com.bw.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class StudentServiceImpl implements StudentService {

    @Autowired
    StudentMapper studentMapper;


    @Transactional
    @Override
    public void add(StudentRoomAdd studentRoomAdd) {

        studentMapper.add(studentRoomAdd);
    }
}
